package com.atguigu.yygh.hosp.globalexp;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

//创建自定义异常
@Slf4j
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YyghException extends RuntimeException{
    private Integer yygh_code;//自定义异常状态码
    private String yygh_message;//自定义异常信息
}
